<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">

    <link rel="stylesheet" href="__PUBLIC__/build/css/layui.css">
    <link href="__HOME__/css/image.css" rel="stylesheet"/>
    <script>
        document.documentElement.style.fontSize = window.innerWidth / 7.5 + 'px';
    </script>
    <style>
        body{padding: 10px;}
    </style>
</head>
<body>

<form class="layui-form layui-form-pane1" method="post" action="">
    <!--<div class="layui-form-item">
        <label class="layui-form-label">所属角色</label>
        <div class="layui-input-block">
            <select name="fk_role_id">
                <option value=""></option>
                <volist name="role_rows" id="vo">
                    <option value="{$vo.pk_id}" <if condition="$vo.pk_id eq $info['fk_role_id']">selected</if>>{$vo.name}</option>
                </volist>
            </select>
        </div>
    </div>-->

    <div class="layui-form-item">
        <label class="layui-form-label">车牌号</label>
        <div class="layui-input-block">
            <input type="text" name="username" value="{$info['query_car_no']}" required placeholder="请输入车牌号" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">查询时间</label>
        <div class="layui-input-block">
            <input type="text" name="password" value="{$info['query_datetime']|date='Y-m-d H:i:s',###}" required placeholder="请输入时间" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">上传图片</label>
        <div class="layui-input-block">
            <div class="imgs clearfix">
                <div class="addBox">
                    <label for="file">
                        <input type="file" name="file" id="file" value="" accept="image/*" multiple onchange="imgChange('addBox','imgs');" />
                    </label>
                </div>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <input type="hidden" name="pk_id" value="{$info['pk_id']}">
            <button class="layui-btn" id="submit" lay-submit lay-filter="*">立即提交</button>
        </div>
    </div>
</form>
<script src="__PUBLIC__/build/layui.js"></script>
<!-- <script src="../build/lay/dest/layui.all.js"></script> -->
<script src="__HOME__/js/base.js"></script>
<script src="__HOME__/js/image.js"></script>
<script>
    layui.use('form', function(){
        var $ = layui.jquery,form = layui.form();

        //监听提交
        form.on('submit(*)', function(data){
            var btnName = $(data.elem).text();
            var submit = $(data.elem).attr('disabled',true).addClass('layui-btn-disabled').text('处理中');
            init();
            return false;
        });
    });
</script>
</body>
</html>
